<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::on_nurbs::NurbsTools类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1on__nurbs_1_1_nurbs_tools.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classpcl_1_1on__nurbs_1_1_nurbs_tools-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::on_nurbs::NurbsTools类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Some useful tools for initialization, point search, ...  
 <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="nurbs__tools_8h_source.html">nurbs_tools.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a86a13e1ccb7b22518a1965e75e0a64f9"><td class="memItemLeft" align="right" valign="top">static unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a86a13e1ccb7b22518a1965e75e0a64f9">getClosestPoint</a> (const Eigen::Vector2d &amp;point, const vector_vec2d &amp;data)</td></tr>
<tr class="memdesc:a86a13e1ccb7b22518a1965e75e0a64f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the closest point with respect to 'point'  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a86a13e1ccb7b22518a1965e75e0a64f9">更多...</a><br /></td></tr>
<tr class="separator:a86a13e1ccb7b22518a1965e75e0a64f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f9473767b69ec558edeaf876851afcc"><td class="memItemLeft" align="right" valign="top">static unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a7f9473767b69ec558edeaf876851afcc">getClosestPoint</a> (const Eigen::Vector3d &amp;point, const vector_vec3d &amp;data)</td></tr>
<tr class="memdesc:a7f9473767b69ec558edeaf876851afcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the closest point with respect to 'point'  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a7f9473767b69ec558edeaf876851afcc">更多...</a><br /></td></tr>
<tr class="separator:a7f9473767b69ec558edeaf876851afcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6360f5f8ff5be7da01c93c281994f070"><td class="memItemLeft" align="right" valign="top">static unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a6360f5f8ff5be7da01c93c281994f070">getClosestPoint</a> (const Eigen::Vector2d &amp;point, const Eigen::Vector2d &amp;dir, const vector_vec2d &amp;data, unsigned &amp;idxcp)</td></tr>
<tr class="memdesc:a6360f5f8ff5be7da01c93c281994f070"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the closest point with respect to 'point' in Non-Euclidean metric  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a6360f5f8ff5be7da01c93c281994f070">更多...</a><br /></td></tr>
<tr class="separator:a6360f5f8ff5be7da01c93c281994f070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c7c0ab82b40a8e8be8336c232834fa4"><td class="memItemLeft" align="right" valign="top">static Eigen::Vector3d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a3c7c0ab82b40a8e8be8336c232834fa4">computeMean</a> (const vector_vec3d &amp;data)</td></tr>
<tr class="memdesc:a3c7c0ab82b40a8e8be8336c232834fa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the mean of a set of points  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a3c7c0ab82b40a8e8be8336c232834fa4">更多...</a><br /></td></tr>
<tr class="separator:a3c7c0ab82b40a8e8be8336c232834fa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05a4d78b03069ba11692d6723ff28dd6"><td class="memItemLeft" align="right" valign="top">static Eigen::Vector2d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a05a4d78b03069ba11692d6723ff28dd6">computeMean</a> (const vector_vec2d &amp;data)</td></tr>
<tr class="memdesc:a05a4d78b03069ba11692d6723ff28dd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the mean of a set of points  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a05a4d78b03069ba11692d6723ff28dd6">更多...</a><br /></td></tr>
<tr class="separator:a05a4d78b03069ba11692d6723ff28dd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace5967b24a4adabb9728fce067df5d3f"><td class="memItemLeft" align="right" valign="top">static Eigen::Vector3d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#ace5967b24a4adabb9728fce067df5d3f">computeVariance</a> (const Eigen::Vector3d &amp;mean, const vector_vec3d &amp;data)</td></tr>
<tr class="memdesc:ace5967b24a4adabb9728fce067df5d3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the variance of a set of points  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#ace5967b24a4adabb9728fce067df5d3f">更多...</a><br /></td></tr>
<tr class="separator:ace5967b24a4adabb9728fce067df5d3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b75f10c52a79660294027708dad06c4"><td class="memItemLeft" align="right" valign="top">static Eigen::Vector2d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a7b75f10c52a79660294027708dad06c4">computeVariance</a> (const Eigen::Vector2d &amp;mean, const vector_vec2d &amp;data)</td></tr>
<tr class="memdesc:a7b75f10c52a79660294027708dad06c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the variance of a set of points  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a7b75f10c52a79660294027708dad06c4">更多...</a><br /></td></tr>
<tr class="separator:a7b75f10c52a79660294027708dad06c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bee9f97a7867cf9afd1ab8302825e1d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a6bee9f97a7867cf9afd1ab8302825e1d">computeBoundingBox</a> (const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;nurbs, Eigen::Vector3d &amp;_min, Eigen::Vector3d &amp;_max)</td></tr>
<tr class="separator:a6bee9f97a7867cf9afd1ab8302825e1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9032b760a31831d4679cf6c80cd79ca"><td class="memItemLeft" align="right" valign="top"><a id="aa9032b760a31831d4679cf6c80cd79ca"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>computeBoundingBox</b> (const <a class="el" href="class_o_n___nurbs_surface.html">ON_NurbsSurface</a> &amp;nurbs, Eigen::Vector3d &amp;_min, Eigen::Vector3d &amp;_max)</td></tr>
<tr class="separator:aa9032b760a31831d4679cf6c80cd79ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5396f59e7681e9ad0319d392ee8f166"><td class="memItemLeft" align="right" valign="top"><a id="ab5396f59e7681e9ad0319d392ee8f166"></a>
static double&#160;</td><td class="memItemRight" valign="bottom"><b>computeRScale</b> (const Eigen::Vector3d &amp;_min, const Eigen::Vector3d &amp;_max)</td></tr>
<tr class="separator:ab5396f59e7681e9ad0319d392ee8f166"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a220783bfe75239ad16d65978c72927ed"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a220783bfe75239ad16d65978c72927ed">pca</a> (const vector_vec3d &amp;data, Eigen::Vector3d &amp;mean, Eigen::Matrix3d &amp;eigenvectors, Eigen::Vector3d &amp;eigenvalues)</td></tr>
<tr class="memdesc:a220783bfe75239ad16d65978c72927ed"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classpcl_1_1_p_c_a.html">PCA</a> - principal-component-analysis  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a220783bfe75239ad16d65978c72927ed">更多...</a><br /></td></tr>
<tr class="separator:a220783bfe75239ad16d65978c72927ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae34628bf5fd14c888dab8cef5e8922a1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#ae34628bf5fd14c888dab8cef5e8922a1">pca</a> (const vector_vec2d &amp;data, Eigen::Vector2d &amp;mean, Eigen::Matrix2d &amp;eigenvectors, Eigen::Vector2d &amp;eigenvalues)</td></tr>
<tr class="memdesc:ae34628bf5fd14c888dab8cef5e8922a1"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classpcl_1_1_p_c_a.html">PCA</a> - principal-component-analysis  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#ae34628bf5fd14c888dab8cef5e8922a1">更多...</a><br /></td></tr>
<tr class="separator:ae34628bf5fd14c888dab8cef5e8922a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5258723d8553cdd550f1190e3d2e59b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#ad5258723d8553cdd550f1190e3d2e59b">downsample_random</a> (const vector_vec3d &amp;data1, vector_vec3d &amp;data2, unsigned size)</td></tr>
<tr class="memdesc:ad5258723d8553cdd550f1190e3d2e59b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Downsample data points to a certain size.  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#ad5258723d8553cdd550f1190e3d2e59b">更多...</a><br /></td></tr>
<tr class="separator:ad5258723d8553cdd550f1190e3d2e59b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f89e6596b1f89d0e7ffa214859149f6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a9f89e6596b1f89d0e7ffa214859149f6">downsample_random</a> (vector_vec3d &amp;data1, unsigned size)</td></tr>
<tr class="memdesc:a9f89e6596b1f89d0e7ffa214859149f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Downsample data points to a certain size.  <a href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html#a9f89e6596b1f89d0e7ffa214859149f6">更多...</a><br /></td></tr>
<tr class="separator:a9f89e6596b1f89d0e7ffa214859149f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Some useful tools for initialization, point search, ... </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a6bee9f97a7867cf9afd1ab8302825e1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bee9f97a7867cf9afd1ab8302825e1d">&#9670;&nbsp;</a></span>computeBoundingBox()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::NurbsTools::computeBoundingBox </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_o_n___nurbs_curve.html">ON_NurbsCurve</a> &amp;&#160;</td>
          <td class="paramname"><em>nurbs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Vector3d &amp;&#160;</td>
          <td class="paramname"><em>_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Vector3d &amp;&#160;</td>
          <td class="paramname"><em>_max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>compute bounding box of curve control points </p>

</div>
</div>
<a id="a05a4d78b03069ba11692d6723ff28dd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05a4d78b03069ba11692d6723ff28dd6">&#9670;&nbsp;</a></span>computeMean() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Eigen::Vector2d pcl::on_nurbs::NurbsTools::computeMean </td>
          <td>(</td>
          <td class="paramtype">const vector_vec2d &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the mean of a set of points </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Set of points. <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3c7c0ab82b40a8e8be8336c232834fa4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c7c0ab82b40a8e8be8336c232834fa4">&#9670;&nbsp;</a></span>computeMean() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Eigen::Vector3d pcl::on_nurbs::NurbsTools::computeMean </td>
          <td>(</td>
          <td class="paramtype">const vector_vec3d &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the mean of a set of points </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Set of points. <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7b75f10c52a79660294027708dad06c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b75f10c52a79660294027708dad06c4">&#9670;&nbsp;</a></span>computeVariance() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Eigen::Vector2d pcl::on_nurbs::NurbsTools::computeVariance </td>
          <td>(</td>
          <td class="paramtype">const Eigen::Vector2d &amp;&#160;</td>
          <td class="paramname"><em>mean</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const vector_vec2d &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the variance of a set of points </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Set of points <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ace5967b24a4adabb9728fce067df5d3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace5967b24a4adabb9728fce067df5d3f">&#9670;&nbsp;</a></span>computeVariance() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Eigen::Vector3d pcl::on_nurbs::NurbsTools::computeVariance </td>
          <td>(</td>
          <td class="paramtype">const Eigen::Vector3d &amp;&#160;</td>
          <td class="paramname"><em>mean</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const vector_vec3d &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the variance of a set of points </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Set of points <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad5258723d8553cdd550f1190e3d2e59b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5258723d8553cdd550f1190e3d2e59b">&#9670;&nbsp;</a></span>downsample_random() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::NurbsTools::downsample_random </td>
          <td>(</td>
          <td class="paramtype">const vector_vec3d &amp;&#160;</td>
          <td class="paramname"><em>data1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">vector_vec3d &amp;&#160;</td>
          <td class="paramname"><em>data2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Downsample data points to a certain size. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data1</td><td>The original set of points. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">data2</td><td>The downsampled set of points of size 'size'. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The desired size of the resulting set of points. <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9f89e6596b1f89d0e7ffa214859149f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f89e6596b1f89d0e7ffa214859149f6">&#9670;&nbsp;</a></span>downsample_random() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::NurbsTools::downsample_random </td>
          <td>(</td>
          <td class="paramtype">vector_vec3d &amp;&#160;</td>
          <td class="paramname"><em>data1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Downsample data points to a certain size. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">[in/out]</td><td>data1 The set of points for downsampling; will be replaced by the resulting set of points of size 'size'. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The desired size of the resulting set of points. <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6360f5f8ff5be7da01c93c281994f070"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6360f5f8ff5be7da01c93c281994f070">&#9670;&nbsp;</a></span>getClosestPoint() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned pcl::on_nurbs::NurbsTools::getClosestPoint </td>
          <td>(</td>
          <td class="paramtype">const Eigen::Vector2d &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Eigen::Vector2d &amp;&#160;</td>
          <td class="paramname"><em>dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const vector_vec2d &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned &amp;&#160;</td>
          <td class="paramname"><em>idxcp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the closest point with respect to 'point' in Non-Euclidean metric </p>
<p>Related paper: TODO </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">point</td><td>The point to which the closest point is searched for. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>The direction defining 'inside' and 'outside' </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Vector containing the set of points for searching. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">idxcp</td><td>Closest point with respect to Euclidean metric. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a86a13e1ccb7b22518a1965e75e0a64f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86a13e1ccb7b22518a1965e75e0a64f9">&#9670;&nbsp;</a></span>getClosestPoint() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned pcl::on_nurbs::NurbsTools::getClosestPoint </td>
          <td>(</td>
          <td class="paramtype">const Eigen::Vector2d &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const vector_vec2d &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the closest point with respect to 'point' </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">point</td><td>The point to which the closest point is searched for. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Vector containing the set of points for searching. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7f9473767b69ec558edeaf876851afcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f9473767b69ec558edeaf876851afcc">&#9670;&nbsp;</a></span>getClosestPoint() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned pcl::on_nurbs::NurbsTools::getClosestPoint </td>
          <td>(</td>
          <td class="paramtype">const Eigen::Vector3d &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const vector_vec3d &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the closest point with respect to 'point' </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">point</td><td>The point to which the closest point is searched for. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Vector containing the set of points for searching. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae34628bf5fd14c888dab8cef5e8922a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae34628bf5fd14c888dab8cef5e8922a1">&#9670;&nbsp;</a></span>pca() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::NurbsTools::pca </td>
          <td>(</td>
          <td class="paramtype">const vector_vec2d &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Vector2d &amp;&#160;</td>
          <td class="paramname"><em>mean</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Matrix2d &amp;&#160;</td>
          <td class="paramname"><em>eigenvectors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Vector2d &amp;&#160;</td>
          <td class="paramname"><em>eigenvalues</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="classpcl_1_1_p_c_a.html">PCA</a> - principal-component-analysis </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Set of points. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">mean</td><td>The mean of the set of points. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">eigenvectors</td><td>Matrix containing column-wise the eigenvectors of the set of points. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">eigenvalues</td><td>The eigenvalues of the set of points with respect to the eigenvectors. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a220783bfe75239ad16d65978c72927ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a220783bfe75239ad16d65978c72927ed">&#9670;&nbsp;</a></span>pca() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pcl::on_nurbs::NurbsTools::pca </td>
          <td>(</td>
          <td class="paramtype">const vector_vec3d &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Vector3d &amp;&#160;</td>
          <td class="paramname"><em>mean</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Matrix3d &amp;&#160;</td>
          <td class="paramname"><em>eigenvectors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Eigen::Vector3d &amp;&#160;</td>
          <td class="paramname"><em>eigenvalues</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="classpcl_1_1_p_c_a.html">PCA</a> - principal-component-analysis </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Set of points. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">mean</td><td>The mean of the set of points. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">eigenvectors</td><td>Matrix containing column-wise the eigenvectors of the set of points. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">eigenvalues</td><td>The eigenvalues of the set of points with respect to the eigenvectors. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>surface/include/pcl/surface/on_nurbs/<a class="el" href="nurbs__tools_8h_source.html">nurbs_tools.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>on_nurbs</b></li><li class="navelem"><a class="el" href="classpcl_1_1on__nurbs_1_1_nurbs_tools.html">NurbsTools</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
